<template>
  <div>
    <van-nav-bar
      :title="title"
      fixed
      left-arrow
      @click-left="go"
    />
    <div style="height: 50px"></div>
  </div>
</template>

<script>
  export default {
    props: {
      title: {
        type: String,
        default: ''
      }
    },
    methods: {
      go() {
        this.$router.go(-1)
      }
    }
  }
</script>

<style scoped>

</style>
